<template>
    <div>
        <van-tabs v-model="active" color="#1989fa" @change="onchange" sticky animated swipeable line-width="25%"
            offset-top="50">
            <van-tab title="我的待办">
                <van-pull-refresh v-model="refreshing" @refresh="onRefresh">
                    <van-list id="todoList" v-model="loading" :finished="finished"
                        :finished-text='!haveTodoError ? "没有更多数据" : ""' :error-text="todoErromessage" @load="onLoad"
                        style="margin-bottom: 50px;">
                        <van-cell v-for="(item, index) in list" :key="index" @click="todetail(index, item, '1')">
                            <div class="titlefont"> {{ item.receiptTitle }}</div>
                            <div class="infosfont"> {{ item.createOrgName }}__{{ item.createUserName }}</div>
                            <div class="infosfont"> 办理时间:{{ timeUtil(item.modifiedTime) }}</div>
                        </van-cell>
                        <div v-show="!haveTodoData" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_nodata.png')" alt="暂无数据"
                                style="margin: 120px 50px 0" @click="getListdata('todo')" />
                        </div>

                        <div v-show="haveTodoError" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_neterror.png')"
                                alt="获取数据失败" style="margin: 120px 50px 0" @click="getListdata('todo')" />
                            <div class="color-b font14" style="margin: 20px 0 0 15px">
                                获取数据失败!
                            </div>
                        </div>
                    </van-list>


                </van-pull-refresh>

            </van-tab>

            <van-tab title="我的已办">
                <van-pull-refresh v-model="refreshing2" @refresh="onRefresh2" immediate-check="false">
                    <van-list id="didList" v-model="loading2" :finished="finished2"
                        :finished-text='!haveDidError ? "没有更多数据" : ""' :error-text="didErromessage" @load="onLoad2"
                        style="margin-bottom: 50px;">
                        <van-cell v-for="(item, index) in list2" :key="index" @click="todetail(index, item, '2')">
                            <div class="titlefont"> {{ item.receiptTitle }}</div>
                            <div class="infosfont"> {{ item.createOrgName }}__{{ item.createUserName }}</div>
                            <div class="infosfont"> 办理时间:{{ timeUtil(item.modifiedTime) }}</div>
                        </van-cell>
                        <div v-show="!haveDidData" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_nodata.png')" alt="暂无数据"
                                style="margin: 120px 50px 0" @click="getListdata('did')" />

                        </div>
                        <div v-show="haveDidError" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_neterror.png')"
                                alt="获取数据失败" style="margin: 120px 50px 0" @click="getListdata('did')" />
                            <div class="color-b font14" style="margin: 20px 0 0 15px">
                                获取数据失败!
                            </div>
                        </div>
                    </van-list>

                </van-pull-refresh>
            </van-tab>
            <van-tab title="我的待阅">
                <van-pull-refresh v-model="refreshing3" @refresh="onRefresh3" immediate-check="false">
                    <van-list id="pendList" v-model="loading3" :finished="finished3"
                        :finished-text='!havePendError ? "没有更多数据" : ""' :error-text="pendErromessage" @load="onLoad3"
                        style="margin-bottom: 50px;">
                        <van-cell v-for="(item, index) in list3" :key="index" @click="todetail(index, item, '3')">
                            <div class="titlefont"> {{ item.receiptTitle }}</div>
                            <div class="infosfont"> {{ item.createOrgName }}__{{ item.createUserName }}</div>
                            <div class="infosfont"> 办理时间:{{ timeUtil(item.modifiedTime) }}</div>
                        </van-cell>
                        <div v-show="!havePendData" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_nodata.png')" alt="暂无数据"
                                style="margin: 120px 50px 0" @click="getListdata('pend')" />

                        </div>
                        <div v-show="havePendError" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_neterror.png')"
                                alt="获取数据失败" style="margin: 120px 50px 0" @click="getListdata('pend')" />
                            <div class="color-b font14" style="margin: 20px 0 0 15px">
                                获取数据失败!
                            </div>
                        </div>
                    </van-list>

                </van-pull-refresh>
            </van-tab>
            <van-tab title="我的已阅">
                <van-pull-refresh v-model="refreshing4" @refresh="onRefresh4" immediate-check="false">
                    <van-list id="readList" v-model="loading4" :finished="finished4"
                        :finished-text='!haveReadError ? "没有更多数据" : ""' :error-text="readErromessage" @load="onLoad4"
                        style="margin-bottom: 50px;">
                        <van-cell v-for="(item, index) in list4" :key="index" @click="todetail(index, item, '4')">
                            <div class="titlefont"> {{ item.receiptTitle }}</div>
                            <div class="infosfont"> {{ item.createOrgName }}__{{ item.createUserName }}</div>
                            <div class="infosfont"> 办理时间:{{ timeUtil(item.modifiedTime) }}</div>
                        </van-cell>
                        <div v-show="!haveReadData" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_nodata.png')" alt="暂无数据"
                                style="margin: 120px 50px 0" @click="getListdata('read')" />

                        </div>
                        <div v-show="haveReadError" class="text-c">
                            <img width="100px" height="100px" :src="require('@/assets/images/pic_neterror.png')"
                                alt="获取数据失败" style="margin: 120px 50px 0" @click="getListdata('read')" />
                            <div class="color-b font14" style="margin: 20px 0 0 15px">
                                获取数据失败!
                            </div>
                        </div>
                    </van-list>

                </van-pull-refresh>
            </van-tab>
        </van-tabs>

    </div>
</template>
<script>
import { myTaskToDo, queryMyJoin, queryMyPending, queryMyRead } from "@/api/dictapi";
import { Toast } from "vant";
import { Notify } from "vant";
import { mapGetters } from "vuex";
import moment from 'moment'
//  ↓↓↓↓↓↓ 调试控制台，生产请删除 ↓↓↓↓↓↓ 
import VConsole from 'vconsole'; 
//  ↑↑↑↑↑↑ 调试控制台，生产请删除 ↑↑↑↑↑↑ 
export default {
    name: 'xxzdtab0',
    data() {
        return {
            active: 0,
            list: [],
            list2: [],
            list3: [],
            list4: [],
            refreshing: false,
            loading: false,
            finished: false,
            refreshing2: false,
            loading2: false,
            finished2: false,
            refreshing3: false,
            loading3: false,
            finished3: false,
            refreshing4: false,
            loading4: false,
            finished4: false,
            gettodoListQuery: { source: "MOBILE", page: 1, rows: 10, size: 10 },
            getdidiListQuery: { source: "MOBILE", page: 1, rows: 10, size: 10 },
            getpendListQuery: { source: "MOBILE", page: 1, rows: 10, size: 10 },
            getreadListQuery: { source: "MOBILE", page: 1, rows: 10, size: 10 },
            maxpagetodo: 100,
            maxpagedid: 100,
            maxpagepend: 100,
            maxpageread: 100,
            todoErromessage: '',
            didErromessage: '',
            pendErromessage: '',
            readErromessage: '',
            haveTodoData: true,
            haveDidData: true,
            havePendData: true,
            haveReadData: true,
            searchTitle: '',
            haveTodoError: false,
            haveDidError: false,
            havePendError: false,
            haveReadError: false
        }
    },
    computed: {
        ...mapGetters(["user"]),
        ...mapGetters(["userinfo"]),
        ...mapGetters(["hassetmenu"]),
    },
    activated() {
        let dom = document.getElementById('todoList');
        if (dom != null) {
            if (dom.scrollTop > 0) {
                dom.scrollTop = 0;
            }
        }
        let dom2 = document.getElementById('didList');
        if (dom2 != null) {
            if (dom2.scrollTop > 0) {
                dom2.scrollTop = 0;
            }
        }
        let dom3 = document.getElementById('pendList');
        if (dom3 != null) {
            if (dom3.scrollTop > 0) {
                dom3.scrollTop = 0;
            }
        }
        let dom4 = document.getElementById('readList');
        if (dom4 != null) {
            if (dom4.scrollTop > 0) {
                dom4.scrollTop = 0;
            }
        }

    },
    created() {

    },
    mounted() {
        if (process.env.VUE_APP_SHOW_LOG == "true") {
            new VConsole();
        }
        if (localStorage.getItem('dicttodoactiveNumber') != '' && localStorage.getItem('dicttodoactiveNumber')) {
            this.active = JSON.parse(localStorage.getItem('dicttodoactiveNumber'))
            this.onchange(this.active);
            if (this.active == 0) {
                this.active = 0;
            } else if (this.active == 1) {
                this.active = 1;
            } else if (this.active == 2) {
                this.active = 2;
            } else if (this.active == 3) {
                this.active = 3;
            } else {
                this.active = 0;
            }
            localStorage.setItem('dicttodoactiveNumber', '')
        }
    },
    methods: {
        //查询
        setsearchdata(title) {
            this.searchTitle = title;
            if (this.active == 0) {
                this.onRefresh();
            } else if (this.active == 1) {
                this.onRefresh2();
            } else if (this.active == 2) {
                this.onRefresh3();
            } else if (this.active == 3) {
                this.onRefresh4();
            }
        },
        onchange(index) {
            this.searchTitle = '';
        },
        onRefresh() {
            //清空列表数据
            this.finished = false;
            //重新加载数据
            //将loading设置为true,表示处于加载状态
            this.loading = true;
            this.refreshing = true;
            this.gettodoListQuery.page = 1;
            this.maxpagetodo = 100;
            this.onLoad();
        },
        onRefresh2() {
            //清空列表数据
            this.finished2 = false;
            //重新加载数据
            //将loading设置为true,表示处于加载状态
            this.loading2 = true;
            this.refreshing2 = true;
            this.getdidiListQuery.page = 1;
            this.maxpagedid = 100;
            this.onLoad2();
        },
        onRefresh3() {
            //清空列表数据
            this.finished3 = false;
            //重新加载数据
            //将loading设置为true,表示处于加载状态
            this.loading3 = true;
            this.refreshing3 = true;
            this.getpendListQuery.page = 1;
            this.maxpagepend = 100;
            this.onLoad3();
        },
        onRefresh4() {
            //清空列表数据
            this.finished4 = false;
            //重新加载数据
            //将loading设置为true,表示处于加载状态
            this.loading4 = true;
            this.refreshing4 = true;
            this.getreadListQuery.page = 1;
            this.maxpageread = 100;
            this.onLoad4();
        },
        onLoad() {
            // setTimeout(() =>{
            if (this.refreshing) {
                this.list = [];
                this.refreshing = false
            }
            console.log("AAAAA" + this.user.userName)
            if (this.gettodoListQuery.page <= this.maxpagetodo) {
                myTaskToDo(Object.assign(this.gettodoListQuery,
                    { userName: this.user.userName },
                    { searchTitle: this.searchTitle },
                ))
                    .then((result) => {
                        this.haveTodoError = false;
                        if (!result.data) {
                            this.loading = false;
                            this.finished = true;
                            Notify(result.message);
                            this.todoErromessage = result.message;
                            return;
                        }
                        let listdetails = this.list;
                        if (this.gettodoListQuery.page == 1) {
                            listdetails = [];
                            if (result.data.data){
                              if (result.data.data.content) {
                                listdetails = result.data.data.content;
                              }
                              if (listdetails.length == 0) {
                                  this.haveTodoData = false;
                              } else {
                                  this.haveTodoData = true;
                              }
                              this.maxpagetodo = result.data.data.totalPages;
                            }else{
                              this.haveTodoData = false;
                            }
                        } else {
                            if (result.data.data.content) {
                                listdetails = listdetails.concat(result.data.data.content);
                            }
                        }

                        this.list = listdetails;
                        this.loading = false;
                        this.gettodoListQuery.page = this.gettodoListQuery.page + 1;
                    })
                    .catch((error) => {
                        console.log("22222222222" + JSON.stringify(error));
                        this.loading = false
                        this.finished = true;
                        this.haveTodoData = true;
                        this.todoErromessage = '获取数据失败,请稍后重试';
                        this.haveTodoError = true,
                            Notify({ type: 'warning', message: '获取数据失败,请稍后重试' })
                    });
            } else {
                this.loading = false
                this.finished = true;
            }
            // },1000);
        },
        onLoad2() {
            if (this.refreshing2) {
                this.list2 = [];
                this.refreshing2 = false;
            }
            if (this.getdidiListQuery.page <= this.maxpagedid) {
                queryMyJoin(Object.assign(this.getdidiListQuery,
                    { userName: this.user.userName },
                    { searchTitle: this.searchTitle },
                ))
                    .then((result) => {
                        this.haveDidError = false;
                        if (!result.data) {
                            this.finished2 = true;
                            this.loading2 = false;
                            Notify(result.message);
                            this.didErromessage = result.message;
                            return;
                        }
                        let listdetails = this.list2;
                        if (this.getdidiListQuery.page == 1) {
                            listdetails = [];
                            if (result.data.data){
                              if (result.data.data.content) {
                                listdetails = result.data.data.content;
                              }
                              if (listdetails.length == 0) {
                                  this.haveDidData = false;
                              } else {
                                  this.haveDidData = true;
                              }
                              this.maxpagedid = result.data.data.totalPages;
                            }else{
                              this.haveDidData = false;
                            }
                        } else {
                            if (result.data.data.content) {
                                listdetails = listdetails.concat(result.data.data.content);
                            }
                        }
                        this.list2 = listdetails;
                        this.loading2 = false;
                        this.getdidiListQuery.page = this.getdidiListQuery.page + 1;
                    })
                    .catch((error) => {
                        this.haveDidError = true;
                        this.haveDidData = true;
                        this.loading2 = false
                        this.finished2 = true;
                        this.didErromessage = '获取数据失败,请稍后重试';
                        Notify({ type: 'warning', message: '获取数据失败,请稍后重试' })
                    })
            } else {
                this.loading2 = false
                this.finished2 = true;
            }
        },
        onLoad3() {
            if (this.refreshing3) {
                this.list3 = [];
                this.refreshing3 = false;
            }
            if (this.getpendListQuery.page <= this.maxpagepend) {
                queryMyPending(Object.assign(this.getpendListQuery,
                    { userName: this.user.userName },
                    { searchTitle: this.searchTitle },
                ))
                    .then((result) => {
                        this.havePendError = false;
                        if (!result.data) {
                            this.finished3 = true;
                            this.loading3 = false;
                            Notify(result.message);
                            this.pendErromessage = result.message;
                            return;
                        }
                        let listdetails = this.list3;
                        if (this.getpendListQuery.page == 1) {
                            listdetails = [];
                            if (result.data.data){
                              if (result.data.data.content) {
                                listdetails = result.data.data.content;
                              }
                              if (listdetails.length == 0) {
                                  this.havePendData = false;
                              } else {
                                  this.havePendData = true;
                              }
                              this.maxpagepend = result.data.data.totalPages;
                            }else{
                              this.havePendData = false;
                            }
                        } else {
                            if (result.data.data.content) {
                                listdetails = listdetails.concat(result.data.data.content);
                            }
                        }

                        this.list3 = listdetails;
                        this.loading3 = false;
                        this.getpendListQuery.page = this.getpendListQuery.page + 1;
                    })
                    .catch((error) => {
                        this.havePendError = true;
                        this.havePendData = true;
                        this.loading3 = false
                        this.finished3 = true;
                        this.pendErromessage = '获取数据失败,请稍后重试';
                        Notify({ type: 'warning', message: '获取数据失败,请稍后重试' })
                    })
            } else {
                this.loading3 = false
                this.finished3 = true;
            }
        },
        onLoad4() {
            if (this.refreshing4) {
                this.list4 = [];
                this.refreshing4 = false;
            }
            if (this.getreadListQuery.page <= this.maxpageread) {
                queryMyRead(Object.assign(this.getreadListQuery,
                    { userName: this.user.userName },
                    { searchTitle: this.searchTitle },
                ))
                    .then((result) => {
                        this.haveReadError = false;
                        if (!result.data) {
                            this.finished4 = true;
                            this.loading4 = false;
                            Notify(result.message);
                            this.readErromessage = result.message;
                            return;
                        }
                        let listdetails = this.list3;
                        if (this.getreadListQuery.page == 1) {
                            listdetails = [];
                            if (result.data.data){
                              if (result.data.data.content) {
                                listdetails = result.data.data.content;
                              }
                              if (listdetails.length == 0) {
                                  this.haveReadData = false;
                              } else {
                                  this.haveReadData = true;
                              }
                              this.maxpageread = result.data.data.totalPages;
                            }else{
                              this.haveReadData = false;
                            }
                        } else {
                            if (result.data.data.content) {
                                listdetails = listdetails.concat(result.data.data.content);
                            }
                        }

                        this.list4 = listdetails;
                        this.loading4 = false;
                        this.getreadListQuery.page = this.getreadListQuery.page + 1;
                    })
                    .catch((error) => {
                        this.haveReadError = true;
                        this.haveReadData = true;
                        this.loading4 = false
                        this.finished4 = true;
                        this.readErromessage = '获取数据失败,请稍后重试';
                        Notify({ type: 'warning', message: '获取数据失败,请稍后重试' })
                    })
            } else {
                this.loading4 = false
                this.finished4 = true;
            }
        },
        timeUtil(value) {
            return moment(value).format('YYYY-MM-DD HH:mm:ss');
        },

        getListdata(value) {
            if (value = 'todo') {
                this.onRefresh();
            } else if (value = 'did') {
                this.onRefresh2();
            } else if (value = 'pend') {
                this.onRefresh3();
            } else {
                this.onRefresh4();
            }
        },

        todetail(index, value, istodo) {

            console.log('所选择的工单类型是' + value.pmInsType)
            if (istodo == '1') { //待办
                localStorage.setItem('dicttodoactiveNumber', 0)
                var todoType = '1';
                var workFlag = 'task';
            } else if (istodo == '2') { //已办
                localStorage.setItem('dicttodoactiveNumber', 1)
                var todoType = '2';
                var workFlag = 'join';
            } else if (istodo == '3') { //待阅
                localStorage.setItem('dicttodoactiveNumber', 2)
                var todoType = '3';
                var workFlag = 'draft';
            } else if (istodo == '4') { //已阅
                localStorage.setItem('dicttodoactiveNumber', 3)
                var todoType = '4';
                var workFlag = 'draft';
            }
            if (value.pmInsType == 'SRQR2'||value.pmInsType == 'SRQRZK') { //收入确认流程
                this.$router.push(
                    {
                        name: 'srqrdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            pmInsType: value.pmInsType,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'SQBF') { //售前拜访
                this.$router.push(
                    {
                        name: 'sqbfdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })

            }
            else if (value.pmInsType == 'XC'||value.pmInsType == 'FAZC'||value.pmInsType == 'FAZCZK') { //售前-方案支撑
                this.$router.push(
                    {
                        name: 'xcdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    })
            }
            else if (value.pmInsType == 'EB') {
                
                // 售前-商机转项目
                this.$router.push(
                    {
                        name: 'sjzxm',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'FGC' || value.pmInsType == 'FGA' || value.pmInsType == 'FGB'
            ||value.pmInsType == 'FGCC' || value.pmInsType == 'FGAA' || value.pmInsType == 'FGBB') {

                // 5G项目管理 取消认定 - FGC、认定 - FGA、修改 - FGB
                this.$router.push(
                    {
                        name: '5Gxmrd',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'ST' || value.pmInsType == 'SU' || value.pmInsType == 'SV') {
                /// 售中团队组建
                /// 省 - SV、市 - SU、县区 - ST
                this.$router.push(
                    {
                        name: 'sztdzjDetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'MN' || value.pmInsType == 'MM' || value.pmInsType == 'MO') {
                /// 项目里程碑
                /// 省 - MM、市 - MN、县区 - MO
                this.$router.push(
                    {
                        name: 'xmlcb',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'SG' || value.pmInsType == 'SH' || value.pmInsType == 'SI') {
                
                /// 项目开工 
                /// 省 - SI、市 - SH、县区 - SG
                this.$router.push(
                    {
                        name: 'xmkg',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'ZM' || value.pmInsType == 'ZN') {
                /// 项目售前支撑 
                /// 省 - ZN、县区 - ZM
                this.$router.push(
                    {
                        name: 'xmsqzc',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            workItemName: value.activityInstName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'XVVO') { 
                
                //支出合同创建
                this.$router.push(
                    {
                        name: 'xvvodetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'XVVI') { //收入合同创建
                this.$router.push(
                    {
                        name: 'xvvidetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'MD' || value.pmInsType == 'ME' || value.pmInsType == 'MF') {
                /// 项目交接
                /// 省 - MD、市 - ME、县区 - MF
                this.$router.push(
                    {
                        name: 'xmjj',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'WA' || value.pmInsType == 'WB') { //业务支撑
                this.$router.push(
                    {
                        name: 'ywzcdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'SJXY') { //商机响应
                this.$router.push(
                    {
                        name: 'sjxydetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsType: value.pmInsType,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }
            else if (value.pmInsType == 'MH' || value.pmInsType == 'MG'
                || value.pmInsType == 'MI' || value.pmInsType == 'MJ'
                || value.pmInsType == 'MK' || value.pmInsType == 'ML') {
                //合同交底-直签(政企内部交接-地市) MH
                // 合同交底-直签(政企内部交接-省) MG
                // 合同交底-直签(政企内部交接-县区)  MI
                // 合同交底-投标(政企内部交接-省)  MJ
                // 合同交底-投标(政企内部交接-地市) MK
                // 合同交底-投标(政企内部交接-县区)  ML
                this.$router.push(
                    {
                        name: 'midetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    })
            }
            else if (value.pmInsType == 'SP' || value.pmInsType == 'SQ' || value.pmInsType == 'SR') {
                /// 售前团队组建
                /// 省 - SR、市 - SQ、县区 - SP
                this.$router.push(
                    {
                        name: 'sqtdzj',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            //20230830上线分割线
            else if (value.pmInsType == 'MA' || value.pmInsType == 'MB' || value.pmInsType == 'MC') {
                /// 项目交底
                /// 省 - MA、市 - MB、县区 - MC
                this.$router.push(
                    {
                        name: 'xmjdd',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'XU') {
                /// 项目立项申请
                this.$router.push(
                    {
                        name: 'xmlxsq',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'XE' || value.pmInsType == 'XEEF') {
                /// 标前决策 专业公司
                this.$router.push(
                    {
                        name: 'bqjcxe',
                        query: {
                            processInstId: value.receiptCode,
                            location: value.activityDefId,
                            pmInsType: value.pmInsType,
                            processDefName: value.processDefName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }else if (value.pmInsType == 'XFFC') {
                /// 标前决策 标前决策（地市）
                this.$router.push(
                    {
                        name: 'bqjcxffcd',
                        query: {
                            processInstId: value.receiptCode,
                            location: value.activityDefId,
                            pmInsType: value.pmInsType,
                            processDefName: value.processDefName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }else if (value.pmInsType == 'XFFB' || value.pmInsType == 'XFFA' || value.pmInsType == 'XFF' || value.pmInsType == 'XF' || value.pmInsType =='XFFD') {
                /// 标签决策（移动）
                /// 通用（老） - XF、通用（新） - XFF、省重客 - XFFA、县市 - XFFB、县/市（0125新增版本）- XFFC、省行客（0125新增版本）- XFFD
                this.$router.push(
                    {
                        name: 'bqjcxf',
                        query: {
                            processInstId: value.receiptCode,
                            location: value.activityDefId,
                            pmInsType: value.pmInsType,
                            processDefName: value.processDefName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
             else if (value.pmInsType == 'XN'||value.pmInsType == 'XNB') { //开标关联流程
                this.$router.push(
                    {
                        name: 'xndetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    })
            } else if (value.pmInsType == 'BJ'||value.pmInsType == 'BO'||value.pmInsType == 'BD'
            ||value.pmInsType == 'BE'||value.pmInsType == 'BF'||value.pmInsType == 'BK'
            ||value.pmInsType == 'BL'||value.pmInsType == 'BP') { //线索转商机流程
                this.$router.push(
                    {
                        name: 'bjdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    })
            }
            else if (value.pmInsType == 'XM'||value.pmInsType == 'XMA') { //应标管理流程
                this.$router.push(
                    {
                        name: 'xmdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    })
            }
            else if (value.pmInsType == 'XB'||value.pmInsType == 'YBZC'||value.pmInsType == 'YBZCZK') {
                /// 应标支撑
                this.$router.push(
                    {
                        name: 'xbdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            workItemName: value.activityInstName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    }
                )
            }
            else if (value.pmInsType == 'PF'||value.pmInsType == 'PT'||value.pmInsType == 'PZ') {
                // 地市分公司甄选方案创建流程	PF
                // 省公司甄选方案创建流程	PT
                // 区县分公司甄选方案创建流程	PZ
                this.$router.push(
                    {
                        name: 'padetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            location: value.activityDefId,
                            workItemName: value.activityInstName,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                            pmInsType: value.pmInsType
                        }
                    }
                )
            }
            else if (value.pmInsType == 'SK' || value.pmInsType == 'SJ' || value.pmInsType == 'SL') {
                /// 项目进度
                /// 省 - SJ、市 - SK、县区 - SL
                this.$router.push(
                    {
                        name: 'xmjd',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            //20230926上线分割线
            else if (value.pmInsType == 'PK' || value.pmInsType == 'PL') {
                /// 二次谈判
                /// 省 - PK、分 - PL
                this.$router.push(
                    {
                        name: 'ectp',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'PO' || value.pmInsType == 'PP' || value.pmInsType == 'PW') {
                /// 合作伙伴甄选公示审批
                /// 省 - PO、分 - PP、县 - PW
                this.$router.push(
                    {
                        name: 'zxgssp',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'TA') {
                // 全流程贯通-交资交维审批流程
                this.$router.push(
                    {
                        name: 'tadetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'ZO'||value.pmInsType == 'ZP') {
                // 售中任务申请 ZO县区流程 ZP省公司流程
                this.$router.push(
                    {
                        name: 'zodetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'ZR'||value.pmInsType == 'ZS') {
                // 通用任务申请  ZR县区流程 ZS省公司流程
                this.$router.push(
                    {
                        name: 'zrdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'APC') {
                // 项目变更 APC
                this.$router.push(
                    {
                        name: 'apcdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            //20231026上线分割线
            else if (value.pmInsType == 'QX'||value.pmInsType == 'QY') {
                // 权限申请  QX市流程 QY省重客流程
                this.$router.push(
                    {
                        name: 'qxdetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    }
                )
            }
            else if (value.pmInsType == 'ARZ'||value.pmInsType == 'ARS'||value.pmInsType == 'ARX'||value.pmInsType == 'ARZN'||value.pmInsType == 'ARSN'||value.pmInsType == 'ARXN') {
                // 调账申请  ARZ省流程
                this.$router.push(
                    {
                        name: 'arzdetail',
                        query: {
                            processInstId: value.processInstId,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                        }
                    }
                )
            }
            //20231031上线
            else if (value.pmInsType == 'XS') {
                // CA证书借用
                this.$router.push(
                    {
                        name: 'xsdetail',
                        query: {
                            processInstId: value.processInstId,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                        }
                    }
                )
            }
             else if (value.pmInsType == 'XT') {
                // CA证书归还
                this.$router.push(
                    {
                        name: 'xtdetail',
                        query: {
                            processInstId: value.processInstId,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0',
                        }
                    }
                )
            }
            else if (value.pmInsType == 'XX'||value.pmInsType == 'XY') { 
              //支出、收入合同变更 县区 XX 省行客  XY
                this.$router.push(
                    {
                        name: 'xxxydetail',
                        query: {
                            processInstId: value.receiptCode,
                            processDefName: value.processDefName,
                            pmInsType: value.pmInsType,
                            location: value.activityDefId,
                            pmInsId: value.receiptCode,
                            todoType: todoType,
                            workItemId: value.wfId,
                            wfnid: value.wfnid, //待阅使用
                            isdraw: '0'
                        }
                    })
            }else if (value.pmInsType == 'PAI'||value.pmInsType == 'PAU') {//合作伙伴甄选应答报名和修改
              this.$router.push(
                  {
                    name: 'hzhbzxdetail',
                    query: {
                      processInstId: value.receiptCode,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0'
                    }
                  })
            }
            else if (value.pmInsType == 'YPL'||value.pmInsType == 'YPU') {
              //商机研判 YPL是商机预估金额200万以下的
              this.$router.push(
                  {
                    name: 'sjypdetail',
                    query: {
                      processInstId: value.receiptCode,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0'
                    }
                  })
            }
            else if (value.pmInsType == 'PMSP'||value.pmInsType == 'PMSC') {
              // 省公司/地市公司
              this.$router.push(
                  {
                    name: 'pmsdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'HTA'||value.pmInsType == 'HTB'||value.pmInsType == 'HTC') {//合同资产
              this.$router.push(
                  {
                    name: 'htbdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'XKN') { //25大单奖励申报
              this.$router.push(
                  {
                    name: 'xkndetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'XK') { //21大单奖励申报
              this.$router.push(
                  {
                    name: 'xkdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'RNLS') {//项目融场景打标流程
              this.$router.push(
                  {
                    name: 'rnlsdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'IDF') {//人工激励申报流程
              this.$router.push(
                  {
                    name: 'idfdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'IDFS') {//三化激励申报流程
              this.$router.push(
                  {
                    name: 'idfsdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
                else if (value.pmInsType == 'ZDPD') {//重大项目派单流程
                  this.$router.push(
                      {
                        name: 'zdpddetail',
                        query: {
                          processInstId: value.processInstId,
                          processDefName: value.processDefName,
                          pmInsType: value.pmInsType,
                          location: value.activityDefId,
                          pmInsId: value.receiptCode,
                          todoType: todoType,
                          workItemId: value.wfId,
                          wfnid: value.wfnid, //待阅使用
                          isdraw: '0',
                        }
                      }
                  )
            }
            else if (value.pmInsType == 'AA') {//项目审计流程
              this.$router.push(
                  {
                    name: 'aadetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'SA'||value.pmInsType == 'SB'||value.pmInsType == 'SC') {//项目停工流程
              this.$router.push(
                  {
                    name: 'scdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'SD'||value.pmInsType == 'SE'||value.pmInsType == 'SF') {//复工申请流程
              this.$router.push(
                  {
                    name: 'sfdetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'SW'||value.pmInsType == 'SX'||value.pmInsType == 'SY') {//延期申请流程
              this.$router.push(
                  {
                    name: 'sydetail',
                    query: {
                      processInstId: value.processInstId,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else if (value.pmInsType == 'ZZ'||value.pmInsType == 'ZY') {//终止申请流程
              this.$router.push(
                  {
                    name: 'zzdetail',
                    query: {
                      processInstId: value.receiptCode,
                      processDefName: value.processDefName,
                      pmInsType: value.pmInsType,
                      location: value.activityDefId,
                      pmInsId: value.receiptCode,
                      todoType: todoType,
                      workItemId: value.wfId,
                      wfnid: value.wfnid, //待阅使用
                      isdraw: '0',
                    }
                  }
              )
            }
            else {
                Notify({ type: 'warning', message: '此类型工单暂未接入' })
            }
        }

    }
}
</script>
<style scoped>
.btn {
    margin-bottom: 60px;
    margin-top: 60px;
}

.custom-image .van-empty__image {
    width: 90px;
    height: 90px;
}
</style>